<?php
namespace app\common\model;
use think\Model;
use think\Session;
class RechargeRecord extends Model
{
	protected $insert = ['create_time'];
	/**
     * 文章作者
     * @param $value
     * @return mixed
     */
    protected function setManageManAttr()
    {
        return Session::get('admin_name');
    }

    /**
     * 创建时间
     * @return bool|string
     */
    protected function setCreateTimeAttr()
    {
        return date('Y-m-d H:i:s');
    }

    protected function setPublishTimeAttr()
    {
        return date('Y-m-d H:i:s');
    }
}